package com.richapp.launcher.database.system.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "action")
public class ActionModel {

	@DatabaseField(generatedId = true)
	private int id;
	
	@DatabaseField(columnName = "sceneName",canBeNull = false)           //情景名称
	private String sceneName;
	
	@DatabaseField(columnName = "actionType",canBeNull = false)          //动作类型
	private int actionType;
	
	@DatabaseField(columnName = "boxCpuId",canBeNull = false)            //机顶盒CPU ID
	private String boxCpuId;

	@DatabaseField(columnName = "deviceId",canBeNull = false)            //设备类型编号
	private String deviceId;

	@DatabaseField(columnName = "deviceNumber",canBeNull = false)        //设备编号
	private String deviceNumber;
    @DatabaseField(columnName = "way",canBeNull = false) //路
    private String way;

    @DatabaseField(columnName = "deviceName",canBeNull = false)         //设备名称
    private String deviceName;
	
	@DatabaseField(columnName = "dimmingValue")                          //调度值
	private String dimmingValue = "00";
	
	@DatabaseField(columnName = "delayActionTime",defaultValue = "1")    //下一动作延时时间
	private int delayActionTime = 1;

	@DatabaseField(columnName = "orderNumber")                           //动作排序号码
	private int orderNumber;
	
	
	public ActionModel() {
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getSceneName() {
		return sceneName;
	}


	public void setSceneName(String sceneName) {
		this.sceneName = sceneName;
	}


	public int getActionType() {
		return actionType;
	}


	public void setActionType(int actionType) {
		this.actionType = actionType;
	}


	public String getBoxCpuId() {
		return boxCpuId;
	}


	public void setBoxCpuId(String boxCpuId) {
		this.boxCpuId = boxCpuId;
	}


	public String getDeviceId() {
		return deviceId;
	}


	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}


	public String getDeviceNumber() {
		return deviceNumber;
	}


	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDimmingValue() {
		return dimmingValue;
	}


	public void setDimmingValue(String dimmingValue) {
		this.dimmingValue = dimmingValue;
	}


	public int getDelayActionTime() {
		return delayActionTime;
	}


	public void setDelayActionTime(int delayActionTime) {
		this.delayActionTime = delayActionTime;
	}

    public int getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(int orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }
}
